package com.fnn.entity;

public class Book {
    private int book_id;       //'主键'
    private String book_name;      //'书名'
    private String book_isbn;    //'图书标准ISBN码'
    private String book_press;     //'图书出版社'
    private String book_author;    //'图书作者'
    private int book_pagination;      //'图书页数'
    private double book_price;        //'图书价格'
    private String book_upload_time;     //'图书上架时间'
    private int book_status;            //'图书状态(0：可借阅，1：借阅中，2：归还中，3：已下架)'
    private int borrower_id;        //借阅人的id
    private String borrowed_time;    //被借阅时的时间
    private String return_book_time;     //预计还书时间


    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getBook_isbn() {
        return book_isbn;
    }

    public void setBook_isbn(String book_isbn) {
        this.book_isbn = book_isbn;
    }

    public String getBook_press() {
        return book_press;
    }

    public void setBook_press(String book_press) {
        this.book_press = book_press;
    }

    public String getBook_author() {
        return book_author;
    }

    public void setBook_author(String book_author) {
        this.book_author = book_author;
    }

    public int getBook_pagination() {
        return book_pagination;
    }

    public void setBook_pagination(int book_pagination) {
        this.book_pagination = book_pagination;
    }

    public double getBook_price() {
        return book_price;
    }

    public void setBook_price(double book_price) {
        this.book_price = book_price;
    }

    public String getBook_upload_time() {
        return book_upload_time;
    }

    public void setBook_upload_time(String book_upload_time) {
        this.book_upload_time = book_upload_time;
    }

    public int getBook_status() {
        return book_status;
    }

    public void setBook_status(int book_status) {
        this.book_status = book_status;
    }

    public int getBorrower_id() {
        return borrower_id;
    }

    public void setBorrower_id(int borrower_id) {
        this.borrower_id = borrower_id;
    }

    public String getBorrowed_time() {
        return borrowed_time;
    }

    public void setBorrowed_time(String borrowed_time) {
        this.borrowed_time = borrowed_time;
    }

    public String getReturn_book_time() {
        return return_book_time;
    }

    public void setReturn_book_time(String return_book_time) {
        this.return_book_time = return_book_time;
    }

    public Book() {
    }

    @Override
    public String toString() {
        return "Book{" +
                "book_id=" + book_id +
                ", book_name='" + book_name + '\'' +
                ", book_isbn='" + book_isbn + '\'' +
                ", book_press='" + book_press + '\'' +
                ", book_author='" + book_author + '\'' +
                ", book_pagination=" + book_pagination +
                ", book_price=" + book_price +
                ", book_upload_time='" + book_upload_time + '\'' +
                ", book_status=" + book_status +
                ", borrower_id=" + borrower_id +
                ", borrowed_time='" + borrowed_time + '\'' +
                ", return_book_time='" + return_book_time + '\'' +
                '}';
    }
}
